package com.sugree.util.parser;

import java.io.InputStream;
import java.io.IOException;
import java.net.URL;
import java.net.MalformedURLException;

public abstract class BaseFeedParser implements IFeedParser {

	// names of the XML tags
	public static final String PUB_DATE = "pubDate";
	public static final String DESCRIPTION = "description";
	public static final String LINK = "link";
	public static final String TITLE = "title";
	public static final String ITEM = "item";
	public static final String CREATOR = "creator";
	public static final String ENCLOSURE = "enclosure";

	protected final InputStream mInputStream;

	protected BaseFeedParser(InputStream is){
		mInputStream = is;
	}

	protected InputStream getInputStream() {
		return mInputStream;
	}
}
